package com.linuxgt.android.dbapp.service;

import android.support.test.InstrumentationRegistry;

import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by liuteng on 2017/5/17.
 */
public class DBOpenHelperTest {

    private DBOpenHelper dbOpenHelper;

    @Test
    public void createDb() throws Exception {
        dbOpenHelper.getWritableDatabase();
    }

    @Before
    public void init() throws Exception {
        dbOpenHelper = new DBOpenHelper(InstrumentationRegistry.getTargetContext());
    }

}